package com.bangdao;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;


@SpringBootApplication
//(exclude = DataSourceAutoConfiguration.class)//取消数据源自动配置
//@ComponentScan({"com.bangdao"})
@EnableDiscoveryClient
@MapperScan("com.bangdao.mapper")
public class ServiceOssApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceOssApplication.class, args);
    }
}